<div id="shop-<%= shop.id %>" class="hentry shop publish alt author-admin has-excerpt category-images sticky">
  <%= link_to image_tag(shop.logo_link, :alt => "#{shop.name}LOGO", :width => '150px', :height => '150px'), shop_path(shop), :class => 'thumbnail', :title => shop.name %>
  <h2 class="entry-title"><%= link_to shop.name, shop_path(shop), :title => shop.name %></h2>
  <div class="byline"> 总销量:<span class="total_sales"><%= shop.total_sales %></span> | 公司:<span class="company"><%= shop.company_name %></span> </div>
  <div class="entry-summary">
    <p>
    <%= truncate(shop.description, :length => 73) %>
    </p>
  </div>
  <div class="entry-meta">
    <%= link_to "#{shop.name}-淘宝旗舰店", shop.shop_link, :class => "shopid-#{shop.id}", :title => "#{shop.name}-淘宝旗舰店", :target => '_blank' %> | <span class="shop-tag">
          <span class="before">标签</span>
          <% shop.tags.each do |tag| %>
            <%= link_to tag.name, tag_shops_path(:name => tag.name) %>
          <% end %>
        </span>
  </div>
</div>
